package tp1rmi;

import exceptions.*;
import java.rmi.Remote;
import java.rmi.RemoteException;

public interface RemotePret extends Remote {

    public Double getAnnuite(Double montant, int nb_annees, Double taux) throws RemoteException, AnnuiteApplicationException, MontantApplicationException, TauxApplicationException, NbAnneesApplicationException;;

    public Double getNbAnnees(int annuites, Double montant, Double taux) throws RemoteException, AnnuiteApplicationException, MontantApplicationException, TauxApplicationException, NbAnneesApplicationException, CalculAnnuiteApplicationException;;
}